home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 December / 2004-12 CHIP.iso / Internet / NVU 0.50 for Windows / nvu-0.50-win32-installer-full.exe / {app} / chrome / comm.jar / content / editor / sitemanager.xul < prev    next >
Encoding:
Extensible Markup Language  |  2004-09-21  |  4.7 KB  |  105 lines

  1. <?xml version="1.0"?>
  2.  
  3.  
  4. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  5. <?xml-stylesheet href="chrome://editor/skin/sitemanager.css" type="text/css"?>
  6.  
  7. <!DOCTYPE page SYSTEM "chrome://editor/locale/sitemanager.dtd">
  8.  
  9. <page orient="vertical"
  10.       xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  11.       onload="Startup()">
  12.  
  13.   <!-- Methods common to all editor dialogs -->
  14.   <script type="application/x-javascript" src="chrome://editor/content/editorUtilities.js"/>
  15.   <script type="application/x-javascript" src="chrome://editor/content/EdDialogCommon.js"/>
  16.   <script type="application/x-javascript" src="chrome://editor/content/url-loader.js"/>
  17.   <script type="application/x-javascript" src="chrome://editor/content/ftpDirParser.js"/>
  18.   <script type="application/x-javascript" src="chrome://editor/content/localDirParser.js"/>
  19.   <script type="application/x-javascript" src="chrome://editor/content/sitemanager.js"/>
  20.   <script type="application/x-javascript" src="chrome://editor/content/sitemanagerUtils.js"/>
  21.   <script type="application/x-javascript" src="chrome://editor/content/publishprefs.js"/>
  22.   <script type="application/x-javascript" src="chrome://help/content/contextHelp.js"/>
  23.   <script type="application/x-javascript" src="chrome://communicator/content/XPCNativeWrapper.js"/>
  24.  
  25.   <script type="application/x-javascript" src="chrome://global/content/nsDragAndDrop.js"/>
  26.   <script type="application/x-javascript" src="chrome://global/content/nsTransferable.js"/>
  27.  
  28.   <broadcaster id="args" value=""/>
  29.  
  30.   <popupset id="editorContentContextSet">
  31.     <popup id="siteManagerContext"
  32.            onpopupshowing="ShowOrHideContextMenuItems()">
  33.       <menuitem id="renameMenu"
  34.                 label="&renameMenu.label;"
  35.                 oncommand="Rename()" />
  36.     </popup>
  37.   </popupset>
  38.  
  39.   <vbox flex="1" id="mainBox">
  40.     <grid>
  41.       <columns><column flex="1"/><column/></columns>
  42.       <rows>
  43.         <row align="center">
  44.           <menulist id="SiteDropDown" flex="1">
  45.             <menupopup id="SiteList" onpopupshowing="CheckIfSiteListUpdated()"/>
  46.           </menulist>
  47.           <button label="&editSitesList.label;" oncommand="TweakSiteSettings()" />
  48.         </row>
  49.         <row align="center">
  50.           <menulist id="FilterDropDown" flex="1"
  51.                     oncommand="SelectsFilter(this)"
  52.                     style="margin-bottom: 1em">
  53.             <menupopup>
  54.               <menuitem value="all"    label="&filterAll.label;"/>
  55.               <menuitem value="html"   label="&filterHTML.label;"/>
  56.               <menuitem value="images" label="&filterImages.label;"/>
  57.             </menupopup>
  58.           </menulist>
  59.           <checkbox label="&treeViewCheckbox.label;" checked="true" id="treeViewCheckbox"
  60.                     disabled="true"
  61.                     oncommand="ToggleTreeView(this)"/>
  62.         </row>
  63.       </rows>
  64.     </grid>
  65.     <hbox align="center">
  66.       <menulist id="dirHierarchy" disabled="true" flex="1" crop="start"
  67.                 oncommand="SelectDirectory(this);">
  68.         <menupopup id="dirHierarchyPopup">
  69.           <menuitem label=" " />
  70.         </menupopup>
  71.       </menulist>
  72.       <toolbarseparator/>
  73.       <toolbarbutton id="reloadButton" disabled="true"
  74.                      tooltiptext="&reloadButton.tooltip;"
  75.                      oncommand="RefreshDirView()" />
  76.       <toolbarbutton id="createDirButton" disabled="true"
  77.                      tooltiptext="&createDirButton.tooltip;"
  78.                      oncommand="NewSubDir()" />
  79.       <toolbarbutton id="renameButton" disabled="true"
  80.                      tooltiptext="&renameButton.tooltip;"
  81.                      oncommand="Rename()" />
  82.       <toolbarbutton id="removeFileOrDirButton" disabled="true"
  83.                      tooltiptext="&removeButton.tooltip;"
  84.                      oncommand="RemoveFileOrDir()" />
  85.       <toolbarbutton id="stopButton" disabled="true"
  86.                      tooltiptext="&stopButton.tooltip;"
  87.                      oncommand="stopCallback()" />
  88.       <toolbarseparator/>
  89.     </hbox>
  90.     <!--label id="dirHierarchy" value="" crop="left" align="right"/-->
  91.     <tree flex="1" seltype="single" ondblclick="openFile(event);"
  92.           id="SiteTree" enableColumnDrag="true">
  93.       <treecols>
  94.           <treecol id="dirCol" persist="width ordinal hidden" primary="true" flex="1" label="&filenameColumn.label;" />
  95.           <splitter class="tree-splitter"/>
  96.           <treecol id="sizeCol" persist="width ordinal hidden" label="&sizeColumn.label;" />
  97.           <splitter class="tree-splitter"/>
  98.           <treecol id="lastModifiedCol" persist="width ordinal hidden" label="&lastModifiedColumn.label;" />
  99.       </treecols>
  100.       <treechildren id="DirectoryList" flex="1" context="siteManagerContext"
  101.           ondraggesture="nsDragAndDrop.startDrag(event, siteManagerDndObserver)"/>
  102.     </tree>
  103.   </vbox>
  104. </page>
  105.